From e0bb014fed42587b80e0e1f64728e30141e61c26 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Fri, 6 Feb 2026 05:09:36 +0000 Subject: [PATCH] Reduce optimisaiton to -O1 --- debian/changelog | 1 + debian/rules | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5897e189a0..9b7cc9527d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ webkit2gtk (2.50.4-1+rpi2) forky-staging; urgency=medium * Non-maintainer upload. * Really build with gcc. * Disable debug information completely. + * Reduce optimisation to -O1. -- Peter Michael Green Thu, 05 Feb 2026 01:55:33 +0000 diff --git a/debian/rules b/debian/rules index ea8589ee9e..e0c9d1777c 100755 --- a/debian/rules +++ b/debian/rules @@ -71,6 +71,9 @@ endif CFLAGS := $(CFLAGS:-g=) CXXFLAGS := $(CXXFLAGS:-g=) +CFLAGS := $(CFLAGS:-O2=-O1) +CXXFLAGS := $(CXXFLAGS:-O2=-O1) + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949621 LDFLAGS += -Wl,--reduce-memory-overheads -- 2.30.2